package cn.iocoder.yudao.module.trade.controller.admin.orderpostconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 订单回传扣量配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderPostConfigRespVO {

    @Schema(description = "主键自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "26028")
    @ExcelProperty("主键自增")
    private Long id;

    @Schema(description = "配置类型(1:百分比；2:小于；3:大于)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("配置类型(1:百分比；2:小于；3:大于)")
    private Integer configType;

    @Schema(description = "标题")
    @ExcelProperty("标题")
    private String title;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

    /**
     * 推广code
     */
    @Schema(description = "推广code")
    @ExcelProperty("推广code")
    private String drainageCode;
    /**
     * 推广地址
     */
    @Schema(description = "推广地址")
    @ExcelProperty("推广地址")
    private String drainageUrl;

    @Schema(description = "第三方类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("第三方类型")
    private Integer drainageType;

    @Schema(description = "配置类型对应值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("配置类型对应值")
    private Integer configValue;

    @Schema(description = "排序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序号")
    private Integer sort;

    @Schema(description = "状态(0：停用；1：启用)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态(0：停用；1：启用)")
    private Boolean status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}